This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
RE: Selecting multiple documents with code ~Bill Quetfoochekakol 26.Jan.04 07:33 AM a Web browser Notes Client All ReleasesAll Platforms
There is no way to directly control the checkmarks in the selection margin of a view, except to deselect all (NotesUIView.deselectAll).
The only hack that I know of to achieve what you want, is to write write the noteID/UNID (or other unique key) of the documents that you wish to select, to an environment variable or profile document (multi-value), and then trigger a Formula agent, set to "Select documents in view" that reads the above document keys and performs an appropriate
This agent will select any documents where <retrieved key from document> matches one of the entries of _keys.
Note that @NoteID and @Text(@DocumentUniqueID) has slightly different formats to their LotusScript counterparts notesDocument.noteID and notesDocument.universalID, so you have to reformat to compare.